<template>
    <div class="back-btn" @click="goback()">返回</div>
</template>
<script>
export default {
    methods: {
        goback() {
            // console.log(111);
            this.$router.go(-1);
        }
    }
};
</script>

<style lang="less" scoped>
.back-btn {
    position: fixed;
    z-index: 999;
    width: 0.8rem;
    height: 0.8rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    font-size: 0.24rem;
    line-height: 0.8rem;
    bottom: @bottomHeight+0.2rem;
    right: 0.2rem;
    border-radius: 50%;
}
</style>